﻿<!doctype html>
<html>

<head>
    <title>数据字典说明</title>
    <link rel="shortcut icon" href="../Images/datas.ico" />
    <script type="text/javascript" src="/Utilities/Scripts/polyfill.min.js"></script>
    <script type="text/javascript" src="/Utilities/Scripts/axios_min.js"></script>
    <script type="text/javascript" src="/Utilities/Scripts/api.js"></script>
    <script type="text/javascript" src="/Utilities/Scripts/vue.min.js"></script>
    <script type="text/javascript" src="/Utilities/Scripts/vue-router.js"></script>
    <script type="text/javascript" src="/Utilities/ElementUi/index.js"></script>
    <link rel="stylesheet" type="text/css" href="/Utilities/ElementUi/index.css" />



    <link href="Styles/index.css" rel="stylesheet" type="text/css" />
    <meta charset="utf-8">
</head>

<body>
    <section id="entities">

        <menu id="menu">
            <div class="tit"> <i class="el-icon-wallet" v-show='!loading'></i>
                <i class="el-icon-loading" v-if="loading"></i>
                Entities
                <div class="searchbox"> <i class="el-icon-search"></i>
                    <input type="text" name="search" id="search" autofocus v-model="entitysearch" />
                </div>
            </div>
            <dl>
                <dd v-for="(val,key,i) in entitylist">
                    <a class='entity' :title="val.mark" @click="current=key;index=i;entity=val;">
                        {{i+1}}. {{key}}
                        <span v-html="val.mark"></span>
                    </a>
                </dd>
                <dd v-if="listcount<1" class="noapi">
                    <span v-if="error==''">没有查询到实体</span>
                    <span v-else>{{error}}</span>
                </dd>
            </dl>
            <footer><a href="http://www.weishakeji.net" target="_blank">郑州微厦计算机科技有限公司</a></footer>
        </menu>
        <context>
            <h1 v-on:click="helpshow=!helpshow">Entities Details（数据实体的详情）<span :class="helpshow ? 'show' : 'hidden'"><i
                        class="el-icon-caret-bottom"></i></span> </h1>
            <div class="homepage" :style="helpshow ? '' : 'transform: scale(1, 0);opacity:0;'">
                <p>数据实体来自数据库的表结构（表、字段、数据类型）映射。映射实体在Song.Entities项目，
                    实体与数据库表名、字段名相对应，大小写也相同，只有字段的数据类型有差别，例如字段类型为bigint，对应在实体中是long型；
                    字段类型为bit，对应在实体中是bool型；nvarchar对应string型。

                </p>
                <p>解决方案中的Song.Entities项目，包含了所有的实体，由代码生成器自动生成（WeiSha.Data.Generete.exe，在解决方案下的Lib文件夹），
                    实体代码非常不建议手工调整。</p>
            </div>


            <entity :index="index" :clname="current" :entity="entity" :datas="entities" v-if="error==''"></entity>
        </context>
    </section>
    <div id="mask">
        <div id="loading"> <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>
    <script type="text/javascript" src="Scripts/index.js"></script>
</body>

</html>